:root {
    --container-max: 1220px;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #fff;
    --accent: #111827;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Albert Sans';
    color: var(--accent);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 1440px;
    margin: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ↓↓↓ UPDATED PADDING ↓↓↓ */
.container {
    max-width: var(--container-max);
    padding: 0 0.75rem;
}

/* ↑↑↑ UPDATED PADDING ↑↑↑ */

header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.nav-row {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* logo */
.logo {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--accent);
    text-decoration: none;
}

/* desktop nav */
.nav-desktop {
    display: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-desktop a {
    font-size: .875rem;
    color: var(--accent);
    text-decoration: none;
    transition: color .15s;
    font-family: Albert Sans;
    font-weight: 500;
}

.nav-desktop a:hover {
    color: #374151;
}

.logo-img {
    height: 50px;
    /* adjust size */
    width: auto;
    display: block;
}

/* right side */
.actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.btn-icon {
    background: transparent;
    border: none;
    padding: .375rem;
    border-radius: .375rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #f3f4f6;
}

/* search */
.search-desktop {
    display: none;
    position: relative;
    align-items: center;
}

.search-desktop input {
    padding: .5rem 0.75rem .5rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: .875rem;
    width: 220px;
}

.search-desktop input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.08);
    border-color: #9ca3af;
}

.search-desktop .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--muted);
}

/* mobile menu */
#mobile-menu {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease, padding .25s ease;
    padding: 0 1.5rem;
}

#mobile-menu.open {
    max-height: 480px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#mobile-menu a {
    display: block;
    padding: .5rem 0;
    color: #374151;
    text-decoration: none;
    font-size: .95rem;
    font-family: "Albert Sans", sans-serif;
    font-weight: 500
}

#mobile-menu .search-mobile {
    position: relative;
    margin-top: .5rem;
}

#mobile-menu .search-mobile input {
    width: 100%;
    padding: .5rem .75rem .5rem 2.5rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    font-size: .95rem;
}

#mobile-menu .search-mobile .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--muted);
}

/* helpers */
.hidden {
    display: none !important;
}

/* Responsive: show desktop nav/search on md+ */
@media (min-width: 1025px) {
    .nav-desktop {
        display: flex;
    }

    .search-desktop {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    #mobile-menu {
        display: none !important;
    }
}


/* Shop banner */
.banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('https://images.pexels.com/photos/3965545/pexels-photo-3965545.jpeg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

/* Dark Overlay */
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 36px;
    margin: 0 0 18px 0;
    font-weight: 700;
}

/* Breadcrumb Button */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}

/* FORCE WHITE ICON */
.breadcrumb .material-icons {
    font-size: 18px;
    color: #fff !important;
    /* ensures white arrow */
}

.breadcrumb a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}



/*  */


/* add to cart section */
.container {
    max-width: 1200px;
    margin: auto;
    /* display: flex; */
    gap: 40px;
    background: white;
    /* padding: 20px; */
    /* padding-top: 80px; */
}

.container1 {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    background: white;
    padding: 20px;
    padding-top: 60px;
    flex-wrap: wrap;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.product-image {
    flex: 1 1 350px;
}

.product-info {
    flex: 1 1 350px;
}

.product-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.material-icons {
    font-size: 20px;
    color: #333;
}

.qty-add {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.qty-add input {
    width: 60px;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-family: 'Albert Sans';
}

.qty-add button {
    padding: 12px 25px;
    border: 1px solid #222;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Albert Sans';
}

/* Colors */
.colors {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.color-active {
    border: 2px solid black !important;
}

/* Sizes */
.sizes {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sizes button {
    padding: 7px 18px;
    border: 1px solid #969696;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Albert Sans';
}

/* Details */
.details {
    margin-top: 20px;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 20px;
}

.details-section {
    border-bottom: 1px solid #efefef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.details-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

table td {
    padding: 5px 10px;
    font-size: 14px;
}

/* Tabs */
.tabs {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    padding-left: 80px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: #000000;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 14px;
    white-space: nowrap;
    font-family: 'Albert Sans';
}

.tab-btn.inactive {
    background: #ffffff;
    color: #070707;
    border: 1px solid black;
    font-family: 'Albert Sans';
}

.tab-content {
    margin-top: 20px;
    line-height: 1.7;
    font-size: 15px;
    max-width: 100%;
    padding-left: 80px;
    padding-bottom: 40px;
}


/* ---------------------- CART POPUP ---------------------- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 20px;
}

.cart-popup {
    width: 100%;
    max-width: 350px;
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    position: relative;
    animation: fadeIn .25s ease;
}

.close-cart {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.cart-popup h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cart-item img {
    width: 60px;
    border-radius: 5px;
}

.item-details {
    flex: 1;
    min-width: 150px;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
}

.item-price {
    font-size: 13px;
    margin: 3px 0;
}

.remove-item {
    font-size: 12px;
    color: #555;
    text-decoration: underline;
    cursor: pointer;
}

.qty-input {
    width: 55px;
    padding: 7px;
    border: 1px solid #ccc;
    text-align: center;
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 15px 0;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid black;
    cursor: pointer;
    border-radius: 20px;
    font-size: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container1 {
        padding-top: 20px;
        gap: 20px;
    }

    .product-info h2 {
        font-size: 24px;
    }

    .price {
        font-size: 20px;
    }

    .qty-add {
        flex-direction: column;
        align-items: flex-start;
    }

    .tab-btn {
        padding: 8px 14px;
    }

    .tabs{
        flex-wrap: nowrap;
        /* justify-content: right; */
    }
    .tab-content{
            padding-left: 40px;
    }

    .related-header{
         padding-left: 40px !important;
    }

    .product-grid{
        padding-left: 40px !important;
    }
}




@media (max-width: 480px) {
    .product-info h2 {
        font-size: 22px;
    }

    .price {
        font-size: 18px;
    }

    .qty-add input {
        width: 50px;
    }

    .qty-add button {
        width: 100%;
        justify-content: center;
    }

    .tabs {
        justify-content: right;
    }

    
}

/* related product */
.related-header {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 80px;
}

.related-header span {
    display: block;
    /* Forces new line */
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 80px;
}

.product-item {
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.product-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
}

.item-title {
    font-weight: 500;
    font-size: 16px;
    margin: 5px 0;
    color: #333;
}

.item-price {
    color: #555;
    font-size: 14px;
}

/*  */

/*  */
/* footer code */
/* Universal styles for the dark theme */
 .footer {
            background-color: #000000; /* Pure black background */
            color: #ffffff; /* White text color */
            padding: 40px 60px 20px; /* Padding for top/bottom and sides */
            font-family: Arial, sans-serif; /* Use a common sans-serif font */
        }
        .footer-logo-img {
    width: 120px;
    height: auto;
    display: block;
    margin-bottom: 15px;

    /* Turn image white */
    filter: brightness(0) invert(1);
}


        /* Container for the main four sections */
        .footer-content {
            display: flex;
            justify-content: space-between;
            gap: 20px; /* Space between the main columns */
            max-width: 1200px; /* Keep the content centered and constrained */
            margin: 0 auto;
            padding-bottom: 40px; /* Space above the bottom bar */
            border-bottom: 1px solid #222; /* Separator line, slightly visible */
        }

        /* Individual section styling */
        .footer-section {
            padding: 0 10px;
        }

        /* --- Section 1: Vessa (Newsletter) --- */
        .footer-vessa {
            flex-basis: 30%; /* Gives Vessa section more room */
            max-width: 300px;
        }
        .footer-logo {
            font-size: 30px;
            margin-bottom: 15px;
            font-weight: 500;
        }
        .footer-vessa p {
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
            color: #ccc; /* Slightly lighter text for the description */
            font-family: 'Albert Sans';
        }

        /* Newsletter Form */
        .footer-newsletter {
            display: flex;
            border: 1px solid #444; /* Border around the input/button combo */
            height: 40px;
        }
        .footer-newsletter input {
            background: transparent;
            border: none;
            color: #fff;
            padding: 0 10px;
            flex-grow: 1;
            font-size: 14px;
            outline: none;
            font-family: 'Albert Sans';
        }
        .footer-newsletter input::placeholder {
            color: #888;
        }
        .footer-newsletter button {
            background: transparent;
            color: #fff;
            border: none;
            padding: 0 15px;
            cursor: pointer;
            text-transform: uppercase;
            font-size: 14px;
            font-weight: bold;
            /* border-left: 1px solid #444; */
            transition: background-color 0.3s;
            font-family: 'Albert Sans';
        }
        .footer-newsletter button:hover {
            background-color: #333;
        }

        /* --- Section 2, 3, 4: Contact, Links, Resources --- */
        .footer-contact, .footer-links, .footer-resources {
            flex-basis: 20%; /* Even distribution for the other three columns */
            padding-top: 5px;
        }

        /* Headings for columns 2, 3, 4 */
        .footer-section h3 {
            font-size: 12px;
            font-weight: bold;
            color: #888; /* Grey text for the heading */
            margin-bottom: 25px;
            letter-spacing: 1px;
            font-family: 'Albert Sans';
        }

        /* Contact Email */
        .footer-email {
            font-size: 18px;
            color: #fff;
            text-decoration: none;
            font-family: 'Albert Sans';
        }

        /* List links */
        .footer-links ul, .footer-resources ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-links li, .footer-resources li {
            margin-bottom: 8px;
        }
        .footer-links a, .footer-resources a {
            color: #ccc;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
            font-family: 'Albert Sans';
        }
        .footer-links a:hover, .footer-resources a:hover, .footer-email:hover {
            color: #fff; /* Hover effect */
        }


        /* --- Bottom Copyright Bar --- */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            max-width: 1200px;
            margin: 0 auto;
            font-size: 12px;
        }

        .footer-copyright {
            color: #888;
            font-family: 'Albert Sans';
        }

        .footer-legal a, .footer-legal span {
            color: #888;
            text-decoration: none;
            padding: 0 5px;
            font-family: 'Albert Sans';
        }
        .footer-legal span {
            color: #555; /* Darker dot separator */
        }
        .footer-legal a:hover {
            color: #fff;
        }


        /* ================================================= */
        /* RESPONSIVENESS (Media Query)             */
        /* ================================================= */

        @media (max-width: 768px) {
            .footer {
                padding: 40px 20px 10px; /* Less horizontal padding on smaller screens */
            }

            /* Stack the main four sections vertically */
            .footer-content {
                flex-direction: column;
                padding-bottom: 20px;
            }

            /* Adjust margins and spacing for stacked look */
            .footer-section {
                margin-bottom: 30px;
                padding: 0;
            }

            /* Section 1: Vessa (Newsletter) takes full width */
            .footer-vessa {
                max-width: 100%;
                margin-bottom: 40px;
            }
            
            /* Section 2, 3, 4: Align to the left and take full width */
            .footer-contact, .footer-links, .footer-resources {
                flex-basis: auto;
            }
            
            /* Contact email for section 2 */
            .footer-email {
                display: block;
                margin-top: -15px;
            }

            /* Stack the bottom bar elements */
            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
                padding-top: 10px;
                margin-top: 10px;
            }

            .footer-copyright {
                margin-bottom: 10px;
            }
            
            .footer-legal {
                display: flex;
                flex-wrap: wrap;
                line-height: 1.5;
            }
        }

/*  */